
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>开始 & 安装 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="Syntax-Specification.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="Getting-Started.html">
            
                <a href="Getting-Started.html">
            
                    
                    开始 & 安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="Syntax-Specification.html">
            
                <a href="Syntax-Specification.html">
            
                    
                    数据模板
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="Syntax-Specification.html">
            
                <a href="Syntax-Specification.html#数据模板定义规范-dtd">
            
                    
                    数据模板定义规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="Syntax-Specification.html">
            
                <a href="Syntax-Specification.html#1-属性值是字符串-string">
            
                    
                    String
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="Syntax-Specification.html">
            
                <a href="Syntax-Specification.html#2-属性值是数字-number">
            
                    
                    Number
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="Syntax-Specification.html">
            
                <a href="Syntax-Specification.html#3-属性值是布尔型-boolean">
            
                    
                    Boolean
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="Syntax-Specification.html">
            
                <a href="Syntax-Specification.html#4-属性值是对象-object">
            
                    
                    Object
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="Syntax-Specification.html">
            
                <a href="Syntax-Specification.html#5-属性值是数组-array">
            
                    
                    Array
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="Syntax-Specification.html">
            
                <a href="Syntax-Specification.html#6-属性值是函数-function">
            
                    
                    Function
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8" data-path="Syntax-Specification.html">
            
                <a href="Syntax-Specification.html#7-属性值是正则表达式-regexp">
            
                    
                    RegExp
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.9" data-path="Syntax-Specification.html">
            
                <a href="Syntax-Specification.html#数据占位符定义规范-dtd">
            
                    
                    数据占位符定义规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="Mock.mock.html">
            
                <a href="Mock.mock.html">
            
                    
                    Mock.mock()
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="Mock.setup.html">
            
                <a href="Mock.setup.html">
            
                    
                    Mock.setup()
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="Mock.Random.html">
            
                <a href="Mock.Random.html">
            
                    
                    Mock.Random()
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="Basic.html">
            
                <a href="Basic.html">
            
                    
                    Basic
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1.1" data-path="Basic.html">
            
                <a href="Basic.html#randomboolean-min-max-current-">
            
                    
                    boolean
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.1.2" data-path="Basic.html">
            
                <a href="Basic.html#randomnatural-min-max-">
            
                    
                    natural
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.1.3" data-path="Basic.html">
            
                <a href="Basic.html#randominteger-min-max-">
            
                    
                    integer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.1.4" data-path="Basic.html">
            
                <a href="Basic.html#randomfloat-min-max-dmin-dmax-">
            
                    
                    float
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.1.5" data-path="Basic.html">
            
                <a href="Basic.html#randomcharacter-pool-">
            
                    
                    character
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.1.6" data-path="Basic.html">
            
                <a href="Basic.html#randomstring-pool-min-max-">
            
                    
                    string
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.1.7" data-path="Basic.html">
            
                <a href="Basic.html#randomrange-start-stop-step-">
            
                    
                    range
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="Date.html">
            
                <a href="Date.html">
            
                    
                    Date
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.2.1" data-path="Date.html">
            
                <a href="Date.html#randomdate-format-">
            
                    
                    date
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.2" data-path="Date.html">
            
                <a href="Date.html#randomtime-format-">
            
                    
                    timeDate
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.3" data-path="Date.html">
            
                <a href="Date.html#randomdatetime-format-">
            
                    
                    datetime
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.4" data-path="Date.html">
            
                <a href="Date.html#randomnow-unit-format-">
            
                    
                    now
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="Image.html">
            
                <a href="Image.html">
            
                    
                    Image
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.3.1" data-path="Image.html">
            
                <a href="Image.html">
            
                    
                    img
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3.2" data-path="Image.html">
            
                <a href="Image.html">
            
                    
                    dataImage
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="Color.html">
            
                <a href="Color.html">
            
                    
                    Color
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.4.1" data-path="Color.html">
            
                <a href="Color.html#randomcolor">
            
                    
                    color
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4.2" data-path="Color.html">
            
                <a href="Color.html#randomhex">
            
                    
                    hex
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4.3" data-path="Color.html">
            
                <a href="Color.html#randomrgb">
            
                    
                    rgb
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4.4" data-path="Color.html">
            
                <a href="Color.html#randomhsl">
            
                    
                    hsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="Text.html">
            
                <a href="Text.html">
            
                    
                    Text
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.5.1" data-path="Text.html">
            
                <a href="Text.html#randomparagraph-min-max-">
            
                    
                    paragraph
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5.2" data-path="Text.html">
            
                <a href="Text.html#randomsentence-min-max-">
            
                    
                    sentence
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5.3" data-path="Text.html">
            
                <a href="Text.html#randomword-min-max-">
            
                    
                    word
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5.4" data-path="Text.html">
            
                <a href="Text.html#randomtitle-min-max-">
            
                    
                    title
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5.5" data-path="Text.html">
            
                <a href="Text.html#randomcparagraph-min-max-">
            
                    
                    cparagraph
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5.6" data-path="Text.html">
            
                <a href="Text.html#randomcsentence-min-max-">
            
                    
                    csentence
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5.7" data-path="Text.html">
            
                <a href="Text.html#randomcword-pool-min-max-">
            
                    
                    cword
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5.8" data-path="Text.html">
            
                <a href="Text.html#randomctitle-min-max-">
            
                    
                    ctitlec
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="Name.html">
            
                <a href="Name.html">
            
                    
                    Name
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="Web.html">
            
                <a href="Web.html">
            
                    
                    Web
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="Address.html">
            
                <a href="Address.html">
            
                    
                    Address
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="Helper.html">
            
                <a href="Helper.html">
            
                    
                    Helper
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10" data-path="Miscellaneous.html">
            
                <a href="Miscellaneous.html">
            
                    
                    Miscellaneous
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="Mock.valid.html">
            
                <a href="Mock.valid.html">
            
                    
                    Mock.valid()
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="Mock.toJSONSchema.html">
            
                <a href="Mock.toJSONSchema.html">
            
                    
                    Mock.toJSONSchema()
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="Thanks-&-Contributors.html">
            
                <a href="Thanks-&-Contributors.html">
            
                    
                    感谢 & 贡献者
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >开始 & 安装</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5F00;&#x59CB;--&#x5B89;&#x88C5;">&#x5F00;&#x59CB; &amp; &#x5B89;&#x88C5;</h1>
<h3 id="node-commonjs">Node (CommonJS)</h3>
<pre><code class="lang-shell"># &#x5B89;&#x88C5;
npm install mockjs
</code></pre>
<pre><code class="lang-js"><span class="hljs-comment">// &#x4F7F;&#x7528; Mock</span>
<span class="hljs-keyword">var</span> Mock = <span class="hljs-built_in">require</span>(<span class="hljs-string">&apos;mockjs&apos;</span>)
<span class="hljs-keyword">var</span> data = Mock.mock({
    <span class="hljs-comment">// &#x5C5E;&#x6027; list &#x7684;&#x503C;&#x662F;&#x4E00;&#x4E2A;&#x6570;&#x7EC4;&#xFF0C;&#x5176;&#x4E2D;&#x542B;&#x6709; 1 &#x5230; 10 &#x4E2A;&#x5143;&#x7D20;</span>
    <span class="hljs-string">&apos;list|1-10&apos;</span>: [{
        <span class="hljs-comment">// &#x5C5E;&#x6027; id &#x662F;&#x4E00;&#x4E2A;&#x81EA;&#x589E;&#x6570;&#xFF0C;&#x8D77;&#x59CB;&#x503C;&#x4E3A; 1&#xFF0C;&#x6BCF;&#x6B21;&#x589E; 1</span>
        <span class="hljs-string">&apos;id|+1&apos;</span>: <span class="hljs-number">1</span>
    }]
})
<span class="hljs-comment">// &#x8F93;&#x51FA;&#x7ED3;&#x679C;</span>
<span class="hljs-built_in">console</span>.log(<span class="hljs-built_in">JSON</span>.stringify(data, <span class="hljs-literal">null</span>, <span class="hljs-number">4</span>))
</code></pre>
<h3 id="bower">Bower</h3>
<!-- If you'd like to use [bower](http://bower.io/), it's as easy as: -->
<pre><code class="lang-shell"># &#x5B89;&#x88C5;
npm install -g bower
bower install --save mockjs
</code></pre>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">type</span>=<span class="hljs-string">&quot;text/javascript&quot;</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;./bower_components/mockjs/dist/mock.js&quot;</span>&gt;</span><span class="undefined"></span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
</code></pre>
<h3 id="requirejs-amd">RequireJS (AMD)</h3>
<pre><code class="lang-js"><span class="hljs-comment">// &#x914D;&#x7F6E; Mock &#x8DEF;&#x5F84;</span>
<span class="hljs-built_in">require</span>.config({
    paths: {
        mock: <span class="hljs-string">&apos;http://mockjs.com/dist/mock&apos;</span>
    }
})
<span class="hljs-comment">// &#x52A0;&#x8F7D; Mock</span>
<span class="hljs-built_in">require</span>([<span class="hljs-string">&apos;mock&apos;</span>], <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">Mock</span>)</span>{
    <span class="hljs-comment">// &#x4F7F;&#x7528; Mock</span>
    <span class="hljs-keyword">var</span> data = Mock.mock({
        <span class="hljs-string">&apos;list|1-10&apos;</span>: [{
            <span class="hljs-string">&apos;id|+1&apos;</span>: <span class="hljs-number">1</span>
        }]
    })
    <span class="hljs-comment">// &#x8F93;&#x51FA;&#x7ED3;&#x679C;</span>
    <span class="hljs-built_in">document</span>.body.innerHTML +=
        <span class="hljs-string">&apos;&lt;pre&gt;&apos;</span> +
        <span class="hljs-built_in">JSON</span>.stringify(data, <span class="hljs-literal">null</span>, <span class="hljs-number">4</span>) +
        <span class="hljs-string">&apos;&lt;/pre&gt;&apos;</span>
})
</code></pre>
<pre><code class="lang-js"><span class="hljs-comment">// ==&gt;</span>
{
    <span class="hljs-string">&quot;list&quot;</span>: [
        {
            <span class="hljs-string">&quot;id&quot;</span>: <span class="hljs-number">1</span>
        },
        {
            <span class="hljs-string">&quot;id&quot;</span>: <span class="hljs-number">2</span>
        },
        {
            <span class="hljs-string">&quot;id&quot;</span>: <span class="hljs-number">3</span>
        }
    ]
}
</code></pre>
<p><a href="http://jsfiddle.net/nzcsxd76/" target="_blank">JSFiddle</a></p>
<h3 id="seajs-cmd">Sea.js (CMD)</h3>
<p>&#x56E0;&#x4E3A; Sea.js &#x793E;&#x533A;&#x5C1A;&#x672A;&#x63D0;&#x4F9B; webpack &#x63D2;&#x4EF6;&#xFF0C;&#x6240;&#x4EE5; Mock.js &#x6682;<strong>&#x4E0D;&#x5B8C;&#x6574;</strong>&#x652F;&#x6301;&#x901A;&#x8FC7; Sea.js &#x52A0;&#x8F7D;&#x3002;</p>
<p>&#x4E00;&#x79CD;&#x53D8;&#x901A;&#x7684;&#x65B9;&#x5F0F;&#x662F;&#xFF0C;&#x4F9D;&#x7136;&#x901A;&#x8FC7; Sea.js &#x914D;&#x7F6E;&#x548C;&#x52A0;&#x8F7D; Mock.js&#xFF0C;&#x7136;&#x540E;&#x8BBF;&#x95EE;&#x5168;&#x5C40;&#x53D8;&#x91CF; Mock&#x3002;</p>
<pre><code class="lang-js"><span class="hljs-comment">// &#x914D;&#x7F6E; Mock &#x8DEF;&#x5F84;</span>
seajs.config({
    alias: {
        mock: <span class="hljs-string">&apos;http://mockjs.com/dist/mock.js&apos;</span>
    }
})

<span class="hljs-comment">// &#x52A0;&#x8F7D; Mock</span>
seajs.use(<span class="hljs-string">&apos;mock&apos;</span>, <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">__PLACEHOLDER</span>) </span>{
    <span class="hljs-comment">// &#x4F7F;&#x7528; Mock&#xFF08;&#x5168;&#x5C40;&#x53D8;&#x91CF;&#xFF09;</span>
    <span class="hljs-keyword">var</span> data = Mock.mock({
        <span class="hljs-string">&apos;list|1-10&apos;</span>: [{
            <span class="hljs-string">&apos;id|+1&apos;</span>: <span class="hljs-number">1</span>
        }]
    });
    <span class="hljs-built_in">document</span>.body.innerHTML +=
        <span class="hljs-string">&apos;&lt;pre&gt;&apos;</span> +
        <span class="hljs-built_in">JSON</span>.stringify(data, <span class="hljs-literal">null</span>, <span class="hljs-number">4</span>) +
        <span class="hljs-string">&apos;&lt;/pre&gt;&apos;</span>
})
</code></pre>
<p><a href="http://jsfiddle.net/3za48nwd/1/" target="_blank">JSFiddle</a></p>
<!-- ### KISSY

```js
// 配置 Mock 路径
KISSY.config({
    packages: {
        mock: {
            base: 'http://mockjs.com/dist/'
        }
    }
})
// 加载 Mock
KISSY.use(['node', 'mock'], function (S, _, Mock) {
    // 使用 Mock
    var data = Mock.mock({
        'list|1-10': [{
            'id|+1': 1
        }]
    })
    // 输出结果
    KISSY.all('<pre>').text(JSON.stringify(data, null, 4))
        .appendTo('body')
})
```

[JSFiddle](http://jsfiddle.net/En2sX/2/) -->
<h3 id="random-cli">Random CLI</h3>
<p>```shell</p>
<h1 id="&#x5168;&#x5C40;&#x5B89;&#x88C5;">&#x5168;&#x5C40;&#x5B89;&#x88C5;</h1>
<p>$ npm install mockjs -g</p>
<h1 id="&#x6267;&#x884C;">&#x6267;&#x884C;</h1>
<p>$ random url</p>
<h1 id="httprmcpxorgfunzwc">=&gt; <a href="http://rmcpx.org/funzwc" target="_blank">http://rmcpx.org/funzwc</a></h1>
<h1 id="&#x5E2E;&#x52A9;">&#x5E2E;&#x52A9;</h1>
<p>random -h</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: Introduction">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="Syntax-Specification.html" class="navigation navigation-next " aria-label="Next page: 数据模板">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"开始 & 安装","level":"1.2","depth":1,"next":{"title":"数据模板","level":"1.3","depth":1,"path":"Syntax-Specification.md","ref":"./Syntax-Specification.md","articles":[{"title":"数据模板定义规范","level":"1.3.1","depth":2,"anchor":"#数据模板定义规范-dtd","path":"Syntax-Specification.md","ref":"./Syntax-Specification.md#数据模板定义规范-dtd","articles":[]},{"title":"String","level":"1.3.2","depth":2,"anchor":"#1-属性值是字符串-string","path":"Syntax-Specification.md","ref":"./Syntax-Specification.md#1-属性值是字符串-string","articles":[]},{"title":"Number","level":"1.3.3","depth":2,"anchor":"#2-属性值是数字-number","path":"Syntax-Specification.md","ref":"./Syntax-Specification.md#2-属性值是数字-number","articles":[]},{"title":"Boolean","level":"1.3.4","depth":2,"anchor":"#3-属性值是布尔型-boolean","path":"Syntax-Specification.md","ref":"./Syntax-Specification.md#3-属性值是布尔型-boolean","articles":[]},{"title":"Object","level":"1.3.5","depth":2,"anchor":"#4-属性值是对象-object","path":"Syntax-Specification.md","ref":"./Syntax-Specification.md#4-属性值是对象-object","articles":[]},{"title":"Array","level":"1.3.6","depth":2,"anchor":"#5-属性值是数组-array","path":"Syntax-Specification.md","ref":"./Syntax-Specification.md#5-属性值是数组-array","articles":[]},{"title":"Function","level":"1.3.7","depth":2,"anchor":"#6-属性值是函数-function","path":"Syntax-Specification.md","ref":"./Syntax-Specification.md#6-属性值是函数-function","articles":[]},{"title":"RegExp","level":"1.3.8","depth":2,"anchor":"#7-属性值是正则表达式-regexp","path":"Syntax-Specification.md","ref":"./Syntax-Specification.md#7-属性值是正则表达式-regexp","articles":[]},{"title":"数据占位符定义规范","level":"1.3.9","depth":2,"anchor":"#数据占位符定义规范-dtd","path":"Syntax-Specification.md","ref":"./Syntax-Specification.md#数据占位符定义规范-dtd","articles":[]}]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"Getting-Started.md","mtime":"2019-01-02T03:55:46.262Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-02T04:01:33.354Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

